package com.t.bricks.bussiness.db.entity.personworkstatimonths;

import com.t.bricks.bussiness.db.entity.personworkstatimonths.base.PersonWorkStatiMonthsBase;

/**
 * 人员工作量统计(月统计)'PersonWorkStatiMonths'表扩展实体类
 * 注意:可根据需要创建不同的多个扩展实体类,而不是把所有的扩展属性都集中到一个类中
 * @author HuangXinBian
 */
public class PersonWorkStatiMonths extends PersonWorkStatiMonthsBase {
	
	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 复制对象
	 * @param source 数据源
	 * @return PersonWorkStatiMonths
	 */
	public static PersonWorkStatiMonths copy(PersonWorkStatiMonths source) {
		if (null == source) {
			return null;
		}
		
		PersonWorkStatiMonths target = new PersonWorkStatiMonths();
		target.setiId(source.getiId());
		target.setsPersonId(source.getsPersonId());
		target.setsPersonName(source.getsPersonName());
		target.setdWorkDate(source.getdWorkDate());
		target.setsNames(source.getsNames());
		target.setsValues(source.getsValues());
		target.setdCreateDate(source.getdCreateDate());

		return target;
	}
	
	/**
	 * 克隆对象
	 * @return PersonWorkStatiMonths
	 */
	@Override
	public PersonWorkStatiMonths clone() {
		return copy(this);
	}
	
}
